package com.ruoyi.system.service;

import com.ruoyi.common.enums.RetResult;
import com.ruoyi.system.domain.Driver;
import com.ruoyi.system.domain.DriverRecord;
import com.ruoyi.system.domain.WxInfo;
import com.ruoyi.system.domain.WxMater;

import java.util.List;

/**
 * 用户 业务层
 * 
 * @author ruoyi
 */
public interface IQrcodeService
{

    List<Driver> queryDriverByOpenId(Driver driver);

    String generateQrcodePath(Driver driver,String resourceProfile) throws Exception;

    Driver queryDriverDetailInfo(Driver driver);

    String insertWxInfo(WxInfo wxInfo);

    String approvedRecord(DriverRecord driverrecord, long intervalTime);

    RetResult<Object> queryUserPerm(WxInfo wxInfo);

    RetResult<Object> queryTrunkNum(DriverRecord driverrecord);

    RetResult<Object> queryMaterNum(DriverRecord driverrecord);

    RetResult<Object> queryMaterPerms(WxMater wxMater);

    RetResult<String> switchDept(WxMater wxMater);

}
